/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.rs.domain.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import org.hibernate.validator.constraints.Length;

import java.time.LocalDateTime;

import javax.validation.constraints.Max;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 *
 *
 * @author wwj
 * @date 2021-4-19
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class SaveManufactureArchiveRequest {

	/**
	 * 产品大项
	 */
	@NotBlank @Length(max=60)
	private String productDictCode;
	/**
	 * 产品子项
	 */
	@Length(max=60)
	private String subProductDictCode;
	/**
	 * 批次号
	 */
	@NotBlank @Length(max=20)
	private String batchCode;

	/**
	 * 生产记录id
	 */
	@NotBlank
	private Long manufactureRecordId;

}
